import request from '@/utils/request/index'

function saveLike(data) {
	return request({
		url: '/api/article_likes/save',
		method: 'POST',
		data: data,
	});
}

function deleteLike(data) {
	return request({
		url: '/api/article_likes/delete',
		method: 'POST',
		data: data,
	});
}


function my(data) {
	return request({
		url: '/api/article_likes/my',
		data: data,
	});
}

export default {
	save: saveLike,
	delete: deleteLike,
	my
}